package com.example.springmvcdemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/*
 * @author zzr
 * @date: 2025/09/13  22:03
 * @description:测试MVC
 */
@RestController
public class UserController {
    @RequestMapping(value = "/sayHi")
    public String sayHi(){
        return "hello,Spring MVC";
    }
}
